
const BASE_URL = '/api';
import ApiConfig from "./config";

// 登录API
export const login = async (password: string) => {
  return ApiConfig.post<{ password: string }, void>(`${BASE_URL}/auth/login`, { password });
};